package com.example.library_demo.service;

import com.example.library_demo.entity.Card;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.library_demo.vo.card.CardVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Eric
 * @since 2024-11-28
 */
public interface ICardService extends IService<Card> {

    Boolean checkIsExistByCardNum(String cardNum);

    CardVO getCardByCardNumber(String cardNum);

    List<CardVO> getCardByUserId(Long userId);

}
